package com.jixi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jixi.pojo.entity.Student;
import com.jixi.pojo.query.StudentPageQuery;
import com.jixi.pojo.vo.StudentDetailVo;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Date;
import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    /**
     * 查询管理班级详情
     * */
    <T> Page<StudentDetailVo> getClassDetail(Page<T> tPage, Long classId, String date,String studentName,String studentCard);
    /**
     * 管理学生人数
     * */
    Long getTotalStudents(Long teacherId);
}
